package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author ccc
 * @since 2023-11-10 14:09:24
 */
@Data
@TableName("setup_base")
@ApiModel("基地表")
public class SetupBase {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("其他认证基地")
    private String certificationBases;

    @ApiModelProperty("是否“三无一全”")
    private Integer allThree;

    @ApiModelProperty("坡向")
    private String aspect;

    @ApiModelProperty("基地地址")
    private String address;

    @ApiModelProperty("基地面积(亩)")
    private BigDecimal area;

    @ApiModelProperty("基地码")
    private String code;

    @ApiModelProperty("联系方式")
    private String phone;

    @ApiModelProperty("联系人")
    private String contact;

    @ApiModelProperty("基地介绍")
    private String introduction;

    @ApiModelProperty("基地管理员")
    private Integer managerId;

    @ApiModelProperty("基地名称")
    private String name;

    @ApiModelProperty("基地照片")
    private String picture;

    @ApiModelProperty("基地类型")
    private Integer type;

    @ApiModelProperty("地理条件")
    private String geographicalCondition;

    @ApiModelProperty("是否启用")
    private Integer enabled;

    @ApiModelProperty("是否默认")
    private Integer isDefault;

    @ApiModelProperty("是否GAP基地")
    private Integer isGap;

    @ApiModelProperty("种植标准/规范")
    private String plantStandard;

    @ApiModelProperty("基地种植模式")
    private String plantingPatternId;

    @ApiModelProperty("生态种植方式")
    private String ecologicalMethods;

    @ApiModelProperty("生态种植方式 其他说明")
    private String ecologicalMethodInfo;

    @ApiModelProperty("坡度")
    private String slope;

    @ApiModelProperty("省")
    private Integer province;

    @ApiModelProperty("市")
    private Integer city;

    @ApiModelProperty("区")
    private Integer district;

}